-- GENERATED SPELL FOR [Stormpike Bowman] --


function spell0_13358(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(22121,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_13358', 616, 1)
end

function Sorts_13358(pUnit, Event)
local choix_sorts_13358 = math.random(0, 0)
if choix_sorts_13358 == 0 then
pUnit:RegisterEvent('spell0_13358', 1, 1)
end
end

function mob13358_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_13358', math.random(1500, 3000), 1)
end

function mob13358_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13358_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13358_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(13358, 1, 'mob13358_Action')
RegisterUnitEvent(13358, 2, 'mob13358_Leave')
RegisterUnitEvent(13358, 3, 'mob13358_Kill')
RegisterUnitEvent(13358, 4, 'mob13358_Die')
